//
//  MyOrderModel.m
//  reSearchDemo
//
//  Created by 科技 on 15/7/28.
//  Copyright (c) 2015年 Kiwaro. All rights reserved.
//

#import "MyOrderModel.h"

@implementation MyOrderModel

-(MyOrderModel *)initWithDictiomary:(NSDictionary *)dic {
    if (self = [super init]) {
        self.MerchantsName = dic[@"MerchantsName"];
        self.TransactionStatus = dic[@"TransactionStatus"];
        self.ImageUrl = dic[@"ImageUrl"];
        self.Context = dic[@"Context"];
        self.Money = dic[@"Money"];
        self.Number = dic[@"Number"];
        self.ObjectNumber = dic[@"ObjectNumber"];
        self.AllMoney = dic[@"AllMoney"];
        self.Freight = dic[@"Freight"];
        self.Type = dic[@"Type"];
    }
    return self;
}

+(MyOrderModel *)statusWithDictionary:(NSDictionary *)dic {
    MyOrderModel *model = [[MyOrderModel alloc] initWithDictiomary:dic];
    return model;
}

@end
